// SPDX-FileCopyrightText: 2024 KylinSoft Co., Ltd.
//
// SPDX-License-Identifier: GPL-1.0-or-later

#pragma once

#include <QtWaylandClient/private/qwayland-kde-primary-output-v1.h>

QT_BEGIN_NAMESPACE

namespace QtWaylandClient {

class QWaylandDisplay;

class QWaylandPrimaryOutputV1 : public QtWayland::kde_primary_output_v1
{
public:
    QWaylandPrimaryOutputV1(QWaylandDisplay *display, uint id, uint version);
    ~QWaylandPrimaryOutputV1() = default;

protected:
    void kde_primary_output_v1_primary_output(const QString &output_name) override;

private:
    QWaylandDisplay *m_display = nullptr;
};

} // namespace QtWaylandClient

QT_END_NAMESPACE
